import { createStore, applyMiddleware } from 'redux';
import thunk from 'redux-thunk';
import reducers from './reducers';
const store = createStore(reducers, applyMiddleware(thunk)); //如果还有别的中间件，就在thunk后面继续添加
export default store;
